<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Win32k: help.c 文件参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Win32k
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('a03275.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#func-members">函数</a>  </div>
  <div class="headertitle">
<div class="title">kernel/help.c 文件参考</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="a03629_source.html">precomp.h</a>&quot;</code><br />
</div>
<p><a href="a03275_source.html">浏览源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:aadfdd312777e8c64043c0d6825e1109f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03275.html#aadfdd312777e8c64043c0d6825e1109f">_GetWindowContextHelpId</a> (<a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a> pWnd)</td></tr>
<tr class="separator:aadfdd312777e8c64043c0d6825e1109f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f5847a4234b646fd00ba174a01eaaac"><td class="memItemLeft" align="right" valign="top">BOOL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03275.html#a9f5847a4234b646fd00ba174a01eaaac">_SetWindowContextHelpId</a> (<a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a> pWnd, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> dwContextId)</td></tr>
<tr class="separator:a9f5847a4234b646fd00ba174a01eaaac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af18fb3411f7fa557c21278e4d8dc4db9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03275.html#af18fb3411f7fa557c21278e4d8dc4db9">xxxSendHelpMessage</a> (<a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a> pwnd, int iType, int iCtrlId, HANDLE hItemHandle, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> dwContextId, MSGBOXCALLBACK lpfnCallback)</td></tr>
<tr class="separator:af18fb3411f7fa557c21278e4d8dc4db9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aafdc5d5ea5d08acdf6207ed146064cbc"><td class="memItemLeft" align="right" valign="top">VOID&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03275.html#aafdc5d5ea5d08acdf6207ed146064cbc">xxxHelpLoop</a> (<a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a> pwnd)</td></tr>
<tr class="separator:aafdc5d5ea5d08acdf6207ed146064cbc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">函数说明</h2>
<a id="aadfdd312777e8c64043c0d6825e1109f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aadfdd312777e8c64043c0d6825e1109f">&#9670;&nbsp;</a></span>_GetWindowContextHelpId()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> _GetWindowContextHelpId </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a>&#160;</td>
          <td class="paramname"><em>pWnd</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03275_source.html">kernel/help.c</a> 第 <a class="el" href="a03275_source.html#l00015">15</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;{</div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;    <span class="keywordflow">return</span> (<a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>)<a class="code" href="a00365.html#a600525b4b6d1cfd74c99b5484051ce5c">_GetProp</a>(pWnd, MAKEINTATOM(<a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#aaf5a872120f26aaf70d1117a8c1984d3">atomContextHelpIdProp</a>),</div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;            PROPF_INTERNAL);</div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a03740_source.html#l00069">_GetProp()</a>, <a class="el" href="a00365_source.html#l01044">tagSERVERINFO::atomContextHelpIdProp</a>, <a class="el" href="a00563_source.html#l00175">DWORD</a> , 以及 <a class="el" href="a00020_source.html#l00039">gpsi</a>.</p>

</div>
</div>
<a id="a9f5847a4234b646fd00ba174a01eaaac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9f5847a4234b646fd00ba174a01eaaac">&#9670;&nbsp;</a></span>_SetWindowContextHelpId()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BOOL _SetWindowContextHelpId </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a>&#160;</td>
          <td class="paramname"><em>pWnd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>&#160;</td>
          <td class="paramname"><em>dwContextId</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03275_source.html">kernel/help.c</a> 第 <a class="el" href="a03275_source.html#l00022">22</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;{</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;    <span class="comment">//If dwContextId is NULL, then this implies that the caller wants to</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;    <span class="comment">// remove the dwContextId associated with this Window.</span></div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;    <span class="keywordflow">if</span>(dwContextId == 0) {</div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;        <a class="code" href="a00899.html#ac307716e78f28389086bd8b889d4331c">InternalRemoveProp</a>(pWnd, MAKEINTATOM(<a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#aaf5a872120f26aaf70d1117a8c1984d3">atomContextHelpIdProp</a>),</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;                PROPF_INTERNAL);</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;        <span class="keywordflow">return</span>(TRUE);</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;      }</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160; </div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;    <span class="keywordflow">return</span> (<a class="code" href="a00899.html#a6ffe8ade91d65cba93526ed1596e417f">InternalSetProp</a>(pWnd, MAKEINTATOM(<a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#aaf5a872120f26aaf70d1117a8c1984d3">atomContextHelpIdProp</a>),</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;            (HANDLE)dwContextId, PROPF_INTERNAL));</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00365_source.html#l01044">tagSERVERINFO::atomContextHelpIdProp</a>, <a class="el" href="a00020_source.html#l00039">gpsi</a>, <a class="el" href="a03731_source.html#l00098">InternalRemoveProp()</a> , 以及 <a class="el" href="a03731_source.html#l00039">InternalSetProp()</a>.</p>

</div>
</div>
<a id="aafdc5d5ea5d08acdf6207ed146064cbc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aafdc5d5ea5d08acdf6207ed146064cbc">&#9670;&nbsp;</a></span>xxxHelpLoop()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VOID xxxHelpLoop </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a>&#160;</td>
          <td class="paramname"><em>pwnd</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03275_source.html">kernel/help.c</a> 第 <a class="el" href="a03275_source.html#l00079">79</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;{</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;    HWND        hwndChild;</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;    <a class="code" href="a02581.html">PWND</a>        pwndChild;</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;    <a class="code" href="a02581.html">PWND</a>        pwndControl;</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;    MSG         msg;</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;    RECT        rc;</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;    <span class="keywordtype">int</span>         cBorders;</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;    <a class="code" href="a02889.html">PTHREADINFO</a> ptiCurrent = <a class="code" href="a00257.html#a8315d2c807ba18ba9e528c40614b6173">PtiCurrent</a>();</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;    <a class="code" href="a02629.html">DLGENUMDATA</a> DlgEnumData;</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;    <a class="code" href="a01881.html">TL</a>          tlpwndChild;</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160; </div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;    <a class="code" href="a00899.html#a70b09c3e2b495630f4205d34be505afb">CheckLock</a>(pwnd);</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160; </div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;    <a class="code" href="a00638.html#a326162b93195122192df202ff2db430a">_SetCursor</a>(SYSCUR(HELP));</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;    <a class="code" href="a00617.html#a04bef0d1b4ec903d4b1642ebe5e7e0a0">xxxCapture</a>(ptiCurrent, pwnd, SCREEN_CAPTURE);</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160; </div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;    cBorders = <a class="code" href="a00365.html#a7c4e37334c4498482f6192199d683fbf">GetWindowBorders</a>(pwnd-&gt;style, pwnd-&gt;ExStyle, TRUE, FALSE);</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160; </div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;    <a class="code" href="a00365.html#add42cfa617c629deef27087b88368891">CopyInflateRect</a>(&amp;rc, &amp;pwnd-&gt;<a class="code" href="a02581.html#a2778d611c2b27395e559c94d05732e1f">rcWindow</a>, -cBorders * SYSMET(CXBORDER), -cBorders * SYSMET(CYBORDER));</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160; </div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;    <span class="keywordflow">while</span> (ptiCurrent-&gt;<a class="code" href="a02889.html#aea8fcdf7513cfa8972ff27524296079b">pq</a>-&gt;<a class="code" href="a02869.html#a50df387cc5ba51033fb9e767c430f72f">spwndCapture</a> == pwnd) {</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;        <span class="keywordflow">if</span> (!xxxPeekMessage(&amp;msg, NULL, 0, 0, PM_NOYIELD | PM_NOREMOVE)) {</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;            <a class="code" href="a03290.html#aa9a64bb53d41987d293b3a0df290b748">xxxWaitMessage</a>();</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;            <span class="keywordflow">continue</span>;</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;        }</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160; </div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;        <span class="keywordflow">if</span> (msg.message == WM_NCLBUTTONDOWN) {</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;            <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;        } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (msg.message == WM_LBUTTONDOWN) {</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;            <span class="comment">/*</span></div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;<span class="comment">             *  If user clicked outside of window client, bail out now.</span></div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;<span class="comment">             */</span></div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;            <span class="keywordflow">if</span> (!<a class="code" href="a00935.html#a75b3bf802c369845c4381fcee638bc8a">PtInRect</a>(&amp;rc, msg.pt))</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;                <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160; </div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;            <span class="comment">/*</span></div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;<span class="comment">             *  WindowHitTest() won&#39;t return a static control&#39;s handle</span></div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;<span class="comment">             */</span></div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;            hwndChild = <a class="code" href="a00899.html#ac7b632aec491adfba0ade3cd2eb6dca4">xxxWindowHitTest</a>(pwnd, msg.pt, NULL, FALSE );</div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;            pwndChild = <a class="code" href="a00293.html#a41d387d1b2d42169cbaa2092c8a02abf">ValidateHwnd</a>( hwndChild );</div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;            <a class="code" href="a00899.html#abfae1dfb48db23dcea4494f7990ad6a6">ThreadLock</a>(pwndChild, &amp;tlpwndChild);</div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160; </div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;            <span class="keywordflow">if</span> (pwndChild &amp;&amp; <a class="code" href="a00365.html#a5ba953956a025099127d942bcd7074af">FIsParentDude</a>(pwndChild))</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;            {</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;                <span class="comment">/*</span></div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;<span class="comment">                 * If this is a dialog class, then one of three things has</span></div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;<span class="comment">                 * happened:</span></div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;<span class="comment">                 *</span></div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;<span class="comment">                 *  o   This is a static text control</span></div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;<span class="comment">                 *  o   This is the background of the dialog box.</span></div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;<span class="comment">                 *</span></div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;<span class="comment">                 * What we do is enumerate the child windows and see if</span></div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;<span class="comment">                 * any of them contain the current cursor point. If they do,</span></div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;<span class="comment">                 * change our window handle and continue on. Otherwise,</span></div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;<span class="comment">                 * return doing nothing -- we don&#39;t want context-sensitive</span></div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;<span class="comment">                 * help for a dialog background.</span></div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;<span class="comment">                 *</span></div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;<span class="comment">                 * If this is a group box, then we might have clicked on a</span></div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;<span class="comment">                 * disabled control, so we enumerate child windows to see</span></div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;<span class="comment">                 * if we get another control.</span></div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;<span class="comment">                 */</span></div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160; </div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;                <span class="comment">/*</span></div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;<span class="comment">                 *  We&#39;re enumerating a dialog&#39;s children.  So, if we don&#39;t</span></div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;<span class="comment">                 *  find any matches, hwndChild will be NULL and the check</span></div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;<span class="comment">                 *  below will drop out.</span></div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;<span class="comment">                 */</span></div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;                DlgEnumData.<a class="code" href="a02629.html#a863ddef7356e7bb4149c06cad66b78b9">pwndDialog</a> = pwndChild;</div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;                DlgEnumData.<a class="code" href="a02629.html#ad180db03bd449a66abd318f931f93715">pwndControl</a> = NULL;</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;                DlgEnumData.<a class="code" href="a02629.html#a41e6e965fb052b17086a14a3cacddb27">ptCurHelp</a> = msg.pt;</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;                <a class="code" href="a00674.html#a81a2552e2ea04adc0457e7e4649b1cc8">xxxInternalEnumWindow</a>(pwndChild, <a class="code" href="a00365.html#ab574cd8daaf539e11dd6819779cdc87f">EnumPwndDlgChildProc</a>, (LONG)&amp;DlgEnumData, BWL_ENUMCHILDREN);</div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;                pwndControl = DlgEnumData.<a class="code" href="a02629.html#ad180db03bd449a66abd318f931f93715">pwndControl</a>;</div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;            } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;                pwndControl = pwndChild;</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;            }</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160; </div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;            <span class="comment">/*</span></div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;<span class="comment">             * If we click on nothing, just exit.</span></div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;<span class="comment">             */</span></div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;            <span class="keywordflow">if</span> (pwndControl == pwnd) {</div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;                pwndControl = NULL;</div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;            }</div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160; </div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;            <span class="comment">/*</span></div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;<span class="comment">             *  HACK ALERT (Visual Basic 4.0) - they have their own non-window</span></div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;<span class="comment">             *    based controls that draw directly on the main dialog.  In order</span></div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;<span class="comment">             *    to provide help for these controls, we pass along the WM_HELP</span></div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;<span class="comment">             *    message iff the main dialog has a context id assigned.</span></div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;<span class="comment">             *</span></div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;<span class="comment">             *  If the top level window has its own context help ID,</span></div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;<span class="comment">             *  then pass it in the context help message.</span></div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;<span class="comment">             */</span></div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;            <span class="keywordflow">if</span> (!pwndControl) {</div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;                <span class="keywordflow">if</span> (<a class="code" href="a00365.html#a600525b4b6d1cfd74c99b5484051ce5c">_GetProp</a>(pwnd, MAKEINTATOM(<a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#aaf5a872120f26aaf70d1117a8c1984d3">atomContextHelpIdProp</a>), TRUE))</div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;                    pwndControl = pwnd;</div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;            }</div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160; </div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;            <span class="keywordflow">if</span> (pwndControl) {</div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;                <a class="code" href="a02581.html">PWND</a>    pwndSend;</div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;                <span class="keywordtype">int</span>     id;</div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;                <a class="code" href="a01881.html">TL</a>      tlpwndSend;</div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;                <a class="code" href="a01881.html">TL</a>      tlpwndControl;</div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160; </div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;                ThreadLockAlways(pwndControl, &amp;tlpwndControl);</div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160; </div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;                <a class="code" href="a00638.html#a326162b93195122192df202ff2db430a">_SetCursor</a>(SYSCUR(ARROW));</div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;                <a class="code" href="a00617.html#a3376b5eb8ec9b507c26d4420b4b52a25">xxxReleaseCapture</a>();</div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;                <a class="code" href="a00671.html#aa076978d186063c8fcd181567b0fdbf9">xxxRedrawTitle</a>(pwnd, DC_BUTTONS);</div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;                xxxGetMessage(&amp;msg, NULL, 0, 0);</div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160; </div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;                <span class="comment">/*</span></div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;<span class="comment">                 *  Determine the ID of the control</span></div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;<span class="comment">                 */</span></div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;                <span class="keywordflow">if</span> (TestwndChild(pwndControl))</div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;                    <span class="keywordtype">id</span> = (SHORT) LOWORD(pwndControl-&gt;<a class="code" href="a02581.html#ad680eabbc65eb4d160362e2c73a19994">spmenu</a>);     <span class="comment">// use (SHORT) to sign extend</span></div>
<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;                <span class="keywordflow">else</span></div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;                    <span class="keywordtype">id</span> = -1;</div>
<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160; </div>
<div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;                <span class="comment">/*</span></div>
<div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;<span class="comment">                 * Disabled controls and static controls won&#39;t pass this</span></div>
<div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;<span class="comment">                 * on to their parent, so instead, we send the message to</span></div>
<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;<span class="comment">                 * their parent.</span></div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;<span class="comment">                 */</span></div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160; </div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;                <span class="keywordflow">if</span> (TestWF(pwndControl, WFDISABLED)) {</div>
<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;                    <a class="code" href="a02581.html">PWND</a> pwndParent = <a class="code" href="a00365.html#af410034cb874987b4a6d0be215362e6a">_GetParent</a>(pwndControl);</div>
<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;                    <span class="keywordflow">if</span> (!pwndParent)</div>
<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;                    {</div>
<div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;                        ThreadUnlock( &amp;tlpwndControl );</div>
<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;                        ThreadUnlock( &amp;tlpwndChild );</div>
<div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;                        <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;                    }</div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;                    pwndSend = pwndParent;</div>
<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;                } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;                    pwndSend = pwndControl;</div>
<div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;                }</div>
<div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160; </div>
<div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;                ThreadLockAlways(pwndSend, &amp;tlpwndSend);</div>
<div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;                <a class="code" href="a03275.html#af18fb3411f7fa557c21278e4d8dc4db9">xxxSendHelpMessage</a>( pwndSend, HELPINFO_WINDOW, <span class="keywordtype">id</span>,</div>
<div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;                    (HANDLE)HWq(pwndControl), <a class="code" href="a00365.html#ab478374786a0743987d6c0b5bf8c44fd">GetContextHelpId</a>(pwndControl),</div>
<div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;                    NULL);</div>
<div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;                ThreadUnlock(&amp;tlpwndSend);</div>
<div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;                ThreadUnlock(&amp;tlpwndControl);</div>
<div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;                ThreadUnlock(&amp;tlpwndChild);</div>
<div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;                <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;            }</div>
<div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;            ThreadUnlock(&amp;tlpwndChild);</div>
<div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;            <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160; </div>
<div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;        } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (msg.message == WM_MOUSEMOVE) {</div>
<div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;            <span class="keywordflow">if</span> (<a class="code" href="a00935.html#a75b3bf802c369845c4381fcee638bc8a">PtInRect</a>(&amp;rc, msg.pt))</div>
<div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;                <a class="code" href="a00638.html#a326162b93195122192df202ff2db430a">_SetCursor</a>(SYSCUR(HELP));</div>
<div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;            <span class="keywordflow">else</span></div>
<div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;                <a class="code" href="a00638.html#a326162b93195122192df202ff2db430a">_SetCursor</a>(SYSCUR(ARROW));</div>
<div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;        }</div>
<div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;        <span class="keywordflow">else</span> <span class="keywordflow">if</span> (msg.message == WM_KEYDOWN &amp;&amp; msg.wParam == VK_ESCAPE)</div>
<div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;        {</div>
<div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;            xxxGetMessage( &amp;msg, NULL, 0, 0 );</div>
<div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;            <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;        }</div>
<div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160; </div>
<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;        xxxGetMessage(&amp;msg, NULL, 0, 0);</div>
<div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;        <a class="code" href="a00734.html#a962041c70213efba25167fb72da04097">_TranslateMessage</a>(&amp;msg, 0);</div>
<div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;        <a class="code" href="a03290.html#a389031a6d28f2691dd911f121ef30e94">xxxDispatchMessage</a>(&amp;msg);</div>
<div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;    }</div>
<div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160; </div>
<div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;    <a class="code" href="a00617.html#a3376b5eb8ec9b507c26d4420b4b52a25">xxxReleaseCapture</a>();</div>
<div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;    <a class="code" href="a00638.html#a326162b93195122192df202ff2db430a">_SetCursor</a>(SYSCUR(ARROW));</div>
<div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;    <a class="code" href="a00671.html#aa076978d186063c8fcd181567b0fdbf9">xxxRedrawTitle</a>(pwnd, DC_BUTTONS);</div>
<div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a03752_source.html#l00594">_GetParent()</a>, <a class="el" href="a03740_source.html#l00069">_GetProp()</a>, <a class="el" href="a00638_source.html#l00037">_SetCursor()</a>, <a class="el" href="a00734_source.html#l00028">_TranslateMessage()</a>, <a class="el" href="a00365_source.html#l01044">tagSERVERINFO::atomContextHelpIdProp</a>, <a class="el" href="a00899.html#a70b09c3e2b495630f4205d34be505afb">CheckLock()</a>, <a class="el" href="a00935_source.html#l00046">CopyInflateRect()</a>, <a class="el" href="a03281_source.html#l00054">EnumPwndDlgChildProc()</a>, <a class="el" href="a03281_source.html#l00012">FIsParentDude()</a>, <a class="el" href="a03281_source.html#l00028">GetContextHelpId()</a>, <a class="el" href="a03728_source.html#l00501">GetWindowBorders()</a>, <a class="el" href="a00020_source.html#l00039">gpsi</a>, <a class="el" href="a00899_source.html#l02273">tagTHREADINFO::pq</a>, <a class="el" href="a00365_source.html#l02030">tagDLGENUMDATA::ptCurHelp</a>, <a class="el" href="a00263_source.html#l00526">PtiCurrent()</a>, <a class="el" href="a00935_source.html#l00111">PtInRect()</a>, <a class="el" href="a00365_source.html#l02029">tagDLGENUMDATA::pwndControl</a>, <a class="el" href="a00365_source.html#l02028">tagDLGENUMDATA::pwndDialog</a>, <a class="el" href="a00365_source.html#l01398">tagWND::rcWindow</a>, <a class="el" href="a00365_source.html#l01413">tagWND::spmenu</a>, <a class="el" href="a00899_source.html#l02166">tagQ::spwndCapture</a>, <a class="el" href="a00899.html#abfae1dfb48db23dcea4494f7990ad6a6">ThreadLock()</a>, <a class="el" href="a00293_source.html#l00090">ValidateHwnd</a>, <a class="el" href="a00617_source.html#l00108">xxxCapture()</a>, <a class="el" href="a03290_source.html#l00702">xxxDispatchMessage()</a>, <a class="el" href="a00674_source.html#l00036">xxxInternalEnumWindow()</a>, <a class="el" href="a00671_source.html#l00694">xxxRedrawTitle()</a>, <a class="el" href="a00617_source.html#l00069">xxxReleaseCapture()</a>, <a class="el" href="a03275_source.html#l00043">xxxSendHelpMessage()</a>, <a class="el" href="a03290_source.html#l00129">xxxWaitMessage()</a> , 以及 <a class="el" href="a00923_source.html#l00179">xxxWindowHitTest()</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00875_source.html#l00198">xxxSysCommand()</a>.</p>

</div>
</div>
<a id="af18fb3411f7fa557c21278e4d8dc4db9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af18fb3411f7fa557c21278e4d8dc4db9">&#9670;&nbsp;</a></span>xxxSendHelpMessage()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void xxxSendHelpMessage </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a>&#160;</td>
          <td class="paramname"><em>pwnd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>iType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>iCtrlId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">HANDLE&#160;</td>
          <td class="paramname"><em>hItemHandle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>&#160;</td>
          <td class="paramname"><em>dwContextId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">MSGBOXCALLBACK&#160;</td>
          <td class="paramname"><em>lpfnCallback</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03275_source.html">kernel/help.c</a> 第 <a class="el" href="a03275_source.html#l00043">43</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;{</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;    HELPINFO    HelpInfo;</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;    <span class="keywordtype">long</span>        lValue;</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160; </div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;    <a class="code" href="a00899.html#a70b09c3e2b495630f4205d34be505afb">CheckLock</a>(pwnd);</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160; </div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;    HelpInfo.cbSize = <span class="keyword">sizeof</span>(HELPINFO);</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;    HelpInfo.iContextType = iType;</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    HelpInfo.iCtrlId = iCtrlId;</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;    HelpInfo.hItemHandle = hItemHandle;</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;    HelpInfo.dwContextId = dwContextId;</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160; </div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;    lValue = <a class="code" href="a03290.html#a6ae751736a3e6ef5b3f10816af604719">_GetMessagePos</a>();</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;    HelpInfo.MousePos.x = LOWORD(lValue);</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    HelpInfo.MousePos.y = HIWORD(lValue);</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160; </div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;    <span class="comment">// Check if there is an app supplied callback.</span></div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;    <span class="keywordflow">if</span> (lpfnCallback) {</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;        (*lpfnCallback)(&amp;HelpInfo);</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;    } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;        <a class="code" href="a00842.html#a69cf2e14dcefd941469ad5126e40f79a">xxxSendMessage</a>(pwnd, WM_HELP, 0, (LPARAM)(LPHELPINFO)&amp;HelpInfo);</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;    }</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a03290_source.html#l01143">_GetMessagePos()</a>, <a class="el" href="a00899.html#a70b09c3e2b495630f4205d34be505afb">CheckLock()</a> , 以及 <a class="el" href="a00842_source.html#l00613">xxxSendMessage()</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00671_source.html#l01146">xxxDefWindowProc()</a>, <a class="el" href="a03275_source.html#l00079">xxxHelpLoop()</a> , 以及 <a class="el" href="a03590_source.html#l00457">xxxMNKeyDown()</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="aa02629_html_a41e6e965fb052b17086a14a3cacddb27"><div class="ttname"><a href="a02629.html#a41e6e965fb052b17086a14a3cacddb27">tagDLGENUMDATA::ptCurHelp</a></div><div class="ttdeci">POINT ptCurHelp</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l02030">user.h:2030</a></div></div>
<div class="ttc" id="aa02869_html_a50df387cc5ba51033fb9e767c430f72f"><div class="ttname"><a href="a02869.html#a50df387cc5ba51033fb9e767c430f72f">tagQ::spwndCapture</a></div><div class="ttdeci">PWND spwndCapture</div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l02166">userk.h:2166</a></div></div>
<div class="ttc" id="aa00365_html_ab478374786a0743987d6c0b5bf8c44fd"><div class="ttname"><a href="a00365.html#ab478374786a0743987d6c0b5bf8c44fd">GetContextHelpId</a></div><div class="ttdeci">DWORD GetContextHelpId(PWND pwnd)</div><div class="ttdef"><b>Definition:</b> <a href="a03281_source.html#l00028">rtl/help.c:28</a></div></div>
<div class="ttc" id="aa00899_html_a6ffe8ade91d65cba93526ed1596e417f"><div class="ttname"><a href="a00899.html#a6ffe8ade91d65cba93526ed1596e417f">InternalSetProp</a></div><div class="ttdeci">BOOL InternalSetProp(PWND pwnd, LPWSTR pszKey, HANDLE hData, DWORD dwFlags)</div><div class="ttdef"><b>Definition:</b> <a href="a03731_source.html#l00039">kernel/winprop.c:39</a></div></div>
<div class="ttc" id="aa00365_html_af410034cb874987b4a6d0be215362e6a"><div class="ttname"><a href="a00365.html#af410034cb874987b4a6d0be215362e6a">_GetParent</a></div><div class="ttdeci">PWND _GetParent(PWND pwnd)</div><div class="ttdef"><b>Definition:</b> <a href="a03752_source.html#l00594">rtl/wow.c:594</a></div></div>
<div class="ttc" id="aa03290_html_a389031a6d28f2691dd911f121ef30e94"><div class="ttname"><a href="a03290.html#a389031a6d28f2691dd911f121ef30e94">xxxDispatchMessage</a></div><div class="ttdeci">LONG xxxDispatchMessage(LPMSG pmsg)</div><div class="ttdef"><b>Definition:</b> <a href="a03290_source.html#l00702">kernel/input.c:702</a></div></div>
<div class="ttc" id="aa03275_html_af18fb3411f7fa557c21278e4d8dc4db9"><div class="ttname"><a href="a03275.html#af18fb3411f7fa557c21278e4d8dc4db9">xxxSendHelpMessage</a></div><div class="ttdeci">void xxxSendHelpMessage(PWND pwnd, int iType, int iCtrlId, HANDLE hItemHandle, DWORD dwContextId, MSGBOXCALLBACK lpfnCallback)</div><div class="ttdef"><b>Definition:</b> <a href="a03275_source.html#l00043">kernel/help.c:43</a></div></div>
<div class="ttc" id="aa00674_html_a81a2552e2ea04adc0457e7e4649b1cc8"><div class="ttname"><a href="a00674.html#a81a2552e2ea04adc0457e7e4649b1cc8">xxxInternalEnumWindow</a></div><div class="ttdeci">BOOL xxxInternalEnumWindow(PWND pwndNext, WNDENUMPROC_PWND lpfn, LONG lParam, UINT flags)</div><div class="ttdef"><b>Definition:</b> <a href="a00674_source.html#l00036">enumwin.c:36</a></div></div>
<div class="ttc" id="aa00365_html_ab574cd8daaf539e11dd6819779cdc87f"><div class="ttname"><a href="a00365.html#ab574cd8daaf539e11dd6819779cdc87f">EnumPwndDlgChildProc</a></div><div class="ttdeci">BOOL CALLBACK EnumPwndDlgChildProc(PWND pwnd, LPARAM lParam)</div><div class="ttdef"><b>Definition:</b> <a href="a03281_source.html#l00054">rtl/help.c:54</a></div></div>
<div class="ttc" id="aa00638_html_a326162b93195122192df202ff2db430a"><div class="ttname"><a href="a00638.html#a326162b93195122192df202ff2db430a">_SetCursor</a></div><div class="ttdeci">PCURSOR _SetCursor(PCURSOR pcur)</div><div class="ttdef"><b>Definition:</b> <a href="a00638_source.html#l00037">cursor.c:37</a></div></div>
<div class="ttc" id="aa00842_html_a69cf2e14dcefd941469ad5126e40f79a"><div class="ttname"><a href="a00842.html#a69cf2e14dcefd941469ad5126e40f79a">xxxSendMessage</a></div><div class="ttdeci">LONG xxxSendMessage(PWND pwnd, UINT message, DWORD wParam, LONG lParam)</div><div class="ttdef"><b>Definition:</b> <a href="a00842_source.html#l00613">sendmsg.c:613</a></div></div>
<div class="ttc" id="aa00617_html_a04bef0d1b4ec903d4b1642ebe5e7e0a0"><div class="ttname"><a href="a00617.html#a04bef0d1b4ec903d4b1642ebe5e7e0a0">xxxCapture</a></div><div class="ttdeci">VOID xxxCapture(PTHREADINFO pti, PWND pwnd, UINT code)</div><div class="ttdef"><b>Definition:</b> <a href="a00617_source.html#l00108">capture.c:108</a></div></div>
<div class="ttc" id="aa00257_html_a8315d2c807ba18ba9e528c40614b6173"><div class="ttname"><a href="a00257.html#a8315d2c807ba18ba9e528c40614b6173">PtiCurrent</a></div><div class="ttdeci">PTHREADINFO PtiCurrent(VOID)</div><div class="ttdef"><b>Definition:</b> <a href="a00263_source.html#l00526">winmgrc.c:526</a></div></div>
<div class="ttc" id="aa02629_html_a863ddef7356e7bb4149c06cad66b78b9"><div class="ttname"><a href="a02629.html#a863ddef7356e7bb4149c06cad66b78b9">tagDLGENUMDATA::pwndDialog</a></div><div class="ttdeci">PWND pwndDialog</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l02028">user.h:2028</a></div></div>
<div class="ttc" id="aa02629_html"><div class="ttname"><a href="a02629.html">tagDLGENUMDATA</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l02027">user.h:2027</a></div></div>
<div class="ttc" id="aa00899_html_abfae1dfb48db23dcea4494f7990ad6a6"><div class="ttname"><a href="a00899.html#abfae1dfb48db23dcea4494f7990ad6a6">ThreadLock</a></div><div class="ttdeci">VOID ThreadLock(PVOID pobj, PTL ptl)</div></div>
<div class="ttc" id="aa03290_html_aa9a64bb53d41987d293b3a0df290b748"><div class="ttname"><a href="a03290.html#aa9a64bb53d41987d293b3a0df290b748">xxxWaitMessage</a></div><div class="ttdeci">BOOL xxxWaitMessage(VOID)</div><div class="ttdef"><b>Definition:</b> <a href="a03290_source.html#l00129">kernel/input.c:129</a></div></div>
<div class="ttc" id="aa00899_html_ac307716e78f28389086bd8b889d4331c"><div class="ttname"><a href="a00899.html#ac307716e78f28389086bd8b889d4331c">InternalRemoveProp</a></div><div class="ttdeci">HANDLE InternalRemoveProp(PWND pwnd, LPWSTR pszKey, BOOL fInternal)</div><div class="ttdef"><b>Definition:</b> <a href="a03731_source.html#l00098">kernel/winprop.c:98</a></div></div>
<div class="ttc" id="aa00935_html_a75b3bf802c369845c4381fcee638bc8a"><div class="ttname"><a href="a00935.html#a75b3bf802c369845c4381fcee638bc8a">PtInRect</a></div><div class="ttdeci">BOOL APIENTRY PtInRect(CONST RECT *prc, POINT pt)</div><div class="ttdef"><b>Definition:</b> <a href="a00935_source.html#l00111">rect.c:111</a></div></div>
<div class="ttc" id="aa00563_html_a074685e97e89d6aa2accdfcb82328699"><div class="ttname"><a href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a></div><div class="ttdeci">ddeml v[i&lt; inst &gt;][t&lt; type &gt;][hObj|pObj] Dump DDEML state information ddeml lists all ddeml instances for this process n ddeml t&lt; type &gt; lists all ddeml objects of the given type n n assumes link is first DWORD</div><div class="ttdef"><b>Definition:</b> <a href="a00563_source.html#l00175">exts.h:175</a></div></div>
<div class="ttc" id="aa02581_html_ad680eabbc65eb4d160362e2c73a19994"><div class="ttname"><a href="a02581.html#ad680eabbc65eb4d160362e2c73a19994">tagWND::spmenu</a></div><div class="ttdeci">struct tagMENU * spmenu</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01413">user.h:1413</a></div></div>
<div class="ttc" id="aa00899_html_ac7b632aec491adfba0ade3cd2eb6dca4"><div class="ttname"><a href="a00899.html#ac7b632aec491adfba0ade3cd2eb6dca4">xxxWindowHitTest</a></div><div class="ttdeci">HWND xxxWindowHitTest(PWND pwnd, POINT pt, int *pipos, BOOL fIgnoreDisabled)</div><div class="ttdef"><b>Definition:</b> <a href="a00923_source.html#l00179">winwhere.c:179</a></div></div>
<div class="ttc" id="aa01881_html"><div class="ttname"><a href="a01881.html">_TL</a></div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00347">usercli.h:347</a></div></div>
<div class="ttc" id="aa02581_html_a2778d611c2b27395e559c94d05732e1f"><div class="ttname"><a href="a02581.html#a2778d611c2b27395e559c94d05732e1f">tagWND::rcWindow</a></div><div class="ttdeci">RECT rcWindow</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01398">user.h:1398</a></div></div>
<div class="ttc" id="aa02581_html"><div class="ttname"><a href="a02581.html">tagWND</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01388">user.h:1388</a></div></div>
<div class="ttc" id="aa00365_html_a7c4e37334c4498482f6192199d683fbf"><div class="ttname"><a href="a00365.html#a7c4e37334c4498482f6192199d683fbf">GetWindowBorders</a></div><div class="ttdeci">int GetWindowBorders(LONG lStyle, DWORD dwExStyle, BOOL fWindow, BOOL fClient)</div><div class="ttdef"><b>Definition:</b> <a href="a03728_source.html#l00501">rtl/winmgr.c:501</a></div></div>
<div class="ttc" id="aa03290_html_a6ae751736a3e6ef5b3f10816af604719"><div class="ttname"><a href="a03290.html#a6ae751736a3e6ef5b3f10816af604719">_GetMessagePos</a></div><div class="ttdeci">DWORD _GetMessagePos(VOID)</div><div class="ttdef"><b>Definition:</b> <a href="a03290_source.html#l01143">kernel/input.c:1143</a></div></div>
<div class="ttc" id="aa00617_html_a3376b5eb8ec9b507c26d4420b4b52a25"><div class="ttname"><a href="a00617.html#a3376b5eb8ec9b507c26d4420b4b52a25">xxxReleaseCapture</a></div><div class="ttdeci">BOOL xxxReleaseCapture(VOID)</div><div class="ttdef"><b>Definition:</b> <a href="a00617_source.html#l00069">capture.c:69</a></div></div>
<div class="ttc" id="aa00293_html_a41d387d1b2d42169cbaa2092c8a02abf"><div class="ttname"><a href="a00293.html#a41d387d1b2d42169cbaa2092c8a02abf">ValidateHwnd</a></div><div class="ttdeci">#define ValidateHwnd(hwnd)</div><div class="ttdef"><b>Definition:</b> <a href="a00293_source.html#l00090">immcli.h:90</a></div></div>
<div class="ttc" id="aa00734_html_a962041c70213efba25167fb72da04097"><div class="ttname"><a href="a00734.html#a962041c70213efba25167fb72da04097">_TranslateMessage</a></div><div class="ttdeci">BOOL _TranslateMessage(LPMSG pmsg, UINT flags)</div><div class="ttdef"><b>Definition:</b> <a href="a00734_source.html#l00028">keyconv.c:28</a></div></div>
<div class="ttc" id="aa02629_html_ad180db03bd449a66abd318f931f93715"><div class="ttname"><a href="a02629.html#ad180db03bd449a66abd318f931f93715">tagDLGENUMDATA::pwndControl</a></div><div class="ttdeci">PWND pwndControl</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l02029">user.h:2029</a></div></div>
<div class="ttc" id="aa00365_html_add42cfa617c629deef27087b88368891"><div class="ttname"><a href="a00365.html#add42cfa617c629deef27087b88368891">CopyInflateRect</a></div><div class="ttdeci">BOOL APIENTRY CopyInflateRect(LPRECT prcDst, CONST RECT *prcSrc, int cx, int cy)</div><div class="ttdef"><b>Definition:</b> <a href="a00935_source.html#l00046">rect.c:46</a></div></div>
<div class="ttc" id="aa02889_html_aea8fcdf7513cfa8972ff27524296079b"><div class="ttname"><a href="a02889.html#aea8fcdf7513cfa8972ff27524296079b">tagTHREADINFO::pq</a></div><div class="ttdeci">struct tagQ * pq</div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l02273">userk.h:2273</a></div></div>
<div class="ttc" id="aa00365_html_a5ba953956a025099127d942bcd7074af"><div class="ttname"><a href="a00365.html#a5ba953956a025099127d942bcd7074af">FIsParentDude</a></div><div class="ttdeci">BOOL FIsParentDude(PWND pwnd)</div><div class="ttdef"><b>Definition:</b> <a href="a03281_source.html#l00012">rtl/help.c:12</a></div></div>
<div class="ttc" id="aa00365_html_a600525b4b6d1cfd74c99b5484051ce5c"><div class="ttname"><a href="a00365.html#a600525b4b6d1cfd74c99b5484051ce5c">_GetProp</a></div><div class="ttdeci">HANDLE _GetProp(PWND pwnd, LPWSTR pszKey, BOOL fInternal)</div><div class="ttdef"><b>Definition:</b> <a href="a03740_source.html#l00069">rtl/winprop.c:69</a></div></div>
<div class="ttc" id="aa00899_html_a70b09c3e2b495630f4205d34be505afb"><div class="ttname"><a href="a00899.html#a70b09c3e2b495630f4205d34be505afb">CheckLock</a></div><div class="ttdeci">VOID CheckLock(PVOID pobj)</div></div>
<div class="ttc" id="aa02889_html"><div class="ttname"><a href="a02889.html">tagTHREADINFO</a></div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l02260">userk.h:2260</a></div></div>
<div class="ttc" id="aa02513_html_aaf5a872120f26aaf70d1117a8c1984d3"><div class="ttname"><a href="a02513.html#aaf5a872120f26aaf70d1117a8c1984d3">tagSERVERINFO::atomContextHelpIdProp</a></div><div class="ttdeci">ATOM atomContextHelpIdProp</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01044">user.h:1044</a></div></div>
<div class="ttc" id="aa00671_html_aa076978d186063c8fcd181567b0fdbf9"><div class="ttname"><a href="a00671.html#aa076978d186063c8fcd181567b0fdbf9">xxxRedrawTitle</a></div><div class="ttdeci">BOOL xxxRedrawTitle(PWND pwnd, UINT wFlags)</div><div class="ttdef"><b>Definition:</b> <a href="a00671_source.html#l00694">dwp.c:694</a></div></div>
<div class="ttc" id="aa00020_html_ad760da1dd81d9e84dee607d18edfde39"><div class="ttname"><a href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a></div><div class="ttdeci">PSERVERINFO gpsi</div><div class="ttdef"><b>Definition:</b> <a href="a00020_source.html#l00039">clglobal.c:39</a></div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_885cc87fac2d91e269af0a5a959fa5f6.html">E:</a></li><li class="navelem"><a class="el" href="dir_4e091ed8704426a7a4980368ba259fde.html">git</a></li><li class="navelem"><a class="el" href="dir_cd70cb5eb491250157f2d55d3ff4b13e.html">backup</a></li><li class="navelem"><a class="el" href="dir_ba2b673b566ba104b956abdc6dec0552.html">org</a></li><li class="navelem"><a class="el" href="dir_5bb0003d7907b45051943541418399f5.html">ntuser</a></li><li class="navelem"><a class="el" href="dir_2a0a56546b70a0973705719e6a88eab3.html">kernel</a></li><li class="navelem"><a class="el" href="a03275.html">help.c</a></li>
    <li class="footer">制作者
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
  </ul>
</div>
</body>
</html>
